<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common_css :: commonHeader('系统操作日志管理')"></head>
<body>
<!--搜索框-->
<form method="post" id="tabfrom">
    <div style="padding:2px" class="easyui-panel" title="数据查询">
    <table class="form-table">
        <td align="right" width="10%">方法描述：</td>
        <td align="left">
            <input id="selMethodDescription" style="width:150px"/>
        </td>
        <td align="right" width="10%">状态：</td>
        <td align="left">
            <input style="width:150px" id="status"
                   class="easyui-combobox" data-options="prompt:'==请选择==',panelHeight:'auto', valueField: 'label', textField: 'value',
                                    data: [{ label: '1',  value: '成功' },{ label: '2', value: '失败'}]"/>
            <a class="easyui-linkbutton" iconCls='icon-search' onclick="doSearch();">查询</a>
        </td>
    </table>
    </div>
    <br>
</form>
<div id="toolbar">
    <shiro:hasPermission name="system:logger:del">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel"
           onclick="delLogger()">删除</a>
    </shiro:hasPermission>
</div>

<div id="dg"></div>


<div id="dlg" class="easyui-dialog" style="width:650px;height:510px"
     closed="true" modal="true" maximizable="true" resizable="true">
    <form id="myform" method="post">
        <div style="padding:20px">
            <table cellpadding="2px" cellspacing="0" class="form-table">
                <tr>
                    <td align="right">日志流水：</td>
                    <td><input class="easyui-validatebox" name="id"/></td>
                    <td align="right">机构名称：</td>
                    <td><input class="easyui-validatebox" name="orgId"/></td>
                </tr>
                <tr>
                    <td align="right">用户名称：</td>
                    <td><input name="userId"/></td>
                    <td align="right">请求IP：</td>
                    <td><input class="easyui-validatebox" name="ip"/></td>
                </tr>
                <tr>
                    <td align="right">请求地址：</td>
                    <td><input class="easyui-validatebox" name="url"/></td>
                    <td align="right">任务状态：</td>
                    <td>
                        <input name="status" editable="false"
                               class="easyui-combobox" data-options="prompt:'==请选择==',panelHeight:'auto', valueField: 'label', textField: 'value',
                                    data: [{ label: '1',  value: '成功' },{ label: '2', value: '失败'}]"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">请求类型：</td>
                    <td><input class="easyui-validatebox" name="requestType"/></td>
                    <td align="right">请求参数：</td>
                    <td><input class="easyui-validatebox" name="requestInfo"/></td>
                </tr>
                <tr>
                    <td align="right">方法描述：</td>
                    <td><input class="easyui-validatebox" name="methodDescription"/></td>
                    <td align="right">请求方法：</td>
                    <td><input class="easyui-validatebox" name="classPath"/></td>
                </tr>
                <tr>
                    <td align="right">浏览器类型：</td>
                    <td><input class="easyui-validatebox" name="browser"/></td>
                    <td align="right">浏览器版本：</td>
                    <td><input class="easyui-validatebox" name="browserVersion"/></td>
                </tr>
                <tr>
                    <td align="right">操作系统：</td>
                    <td><input class="easyui-validatebox" name="operatingSystem"/></td>
                </tr>
                <tr>
                    <td align="right">错误信息：</td>
                    <td colspan="3">
                        <input class="easyui-textbox" name="errorInfo"
                               data-options="multiline:true" style="height:80px;width:350px"/>
                    </td>
                </tr>
            </table>
        </div>

    </form>
</div>

<div th:include="common_js :: commJS"></div>
<script type="text/javascript"
        th:src="@{/js/system/logger.js}"></script>
</body>
</html>
